﻿namespace com.IronOne.BoardPACWinAppUtil.Util
{
    public class MessageCodes
    {
        /// <summary>
        ///     Appbar isStick status
        /// </summary>
        public static string APPBAR_PIN = "APPBAR_PIN";

        /// <summary>
        ///     Sends what the current page is
        /// </summary>
        public static string CURRENT_PAGE = "CURRENT_PAGE";

        /// <summary>
        ///     Send a message to SyncManager from another class
        /// </summary>
        /// <summary>
        ///     When Request Manager find's that device is wiped out RM will
        ///     send a message with this token
        /// </summary>
        public static string WIPEOUT_NOTIFY_TO_UI = "WIPEOUT_NOTIFY_TO_UI";

        /// <summary>
        ///     Session timeout notify token
        /// </summary>
        public static string SESSION_TIMEOUT_NOTIFY_TO_UI = "SESSION_TIMEOUT_NOTIFY_TO_UI";

        /// <summary>
        ///     Device deactivated notify token
        /// </summary>
        public static string DEVICE_DEACTIVATE_NOTIFY_TO_UI = "DEVICE_DEACTIVAE_NOTIFY_TO_UI";

        /// <summary>
        ///     Sync error notifier: Offline, Gen error, etc...
        /// </summary>
        public static string SYNC_ERROR_STOP = "SYNC_ERROR_STOP";

        /// <summary>
        ///     Token transmit when data download process is success. NOTE: only the download data part. no upload or file download
        ///     involved
        /// </summary>
        public static string SYNC_DATA_DOWNLOAD_SUCCESS = "SYNC_DATA_DOWNLOAD_SUCCESS";

        /// <summary>
        ///     Token transmit when data download process is failed. NOTE: only the download data part. no upload or file download
        ///     involved
        /// </summary>
        public static string SYNC_DATA_DOWNLOAD_FAIL = "SYNC_DATA_DOWNLOAD_FAIL";

        /// <summary>
        ///     Token transmit when each sync cycle success. all 4 components
        /// </summary>
        public static string SYNC_SUCCESS = "SYNC_SUCCESS";

        /// <summary>
        ///     Comes true if online
        /// </summary>
        public static string IS_ONLINE = "IS_ONLINE";

        /// <summary>
        ///     Token transmit when sync has updated data and need to transmit those to ui
        /// </summary>
        public static string SYNC_UPDATED_DATA = "SYNC_UPDATED_DATA";

        /// <summary>
        ///     Will enable agenda search flyout
        /// </summary>
        public static string SEARCH_FLYOUT = "SEARCH_FLYOUT";

        /// <summary>
        ///     Used to notify addcomments viewmodel to fetch comments regarding to comment type.
        ///     Message transmit when clicking bottom app bar meeting comment button or paper comment button
        /// </summary>
        public static string GET_COMMENTS = "GET_COMMENT_TYPE_WISE_COMMENTS";

        /// <summary>
        ///     Notify error message when paper has already finalized
        /// </summary>
        public static string UPDATE_USER_APPROVAL_ERROR = "UPDATE_USER_APPROVAL_ERROR";
    }
}